# 导包
import unittest
import app
from api.staff import StaffAPI


# 创建测试类
class TestStaffAPI(unittest.TestCase):

    # 前置处理
    def setUp(self) -> None:
        # 实例化接口类
        self.staff_api = StaffAPI()

    # 后置处理
    def tearDown(self) -> None:
        pass

    # 添加员工
    def test01_insert_staff(self):
        response = self.staff_api.insert_staff(app.INSERT_DATA)
        print(response.json())
























































